package com.mc.model;

import java.io.Serializable;
import java.util.Date;

import javax.swing.text.StyleContext.SmallAttributeSet;
public class newsandbulletin implements Serializable{
    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
    private Integer id;


    private String title;

    private String publishDate;

    private User author;

    private String bn;

    private String belong;

    private String content;

    private String url;
    
    private int index;
    
    private int clickTimes;
    
    private String reporter;
    
    
    public String getReporter() {
		return reporter;
	}

	public void setReporter(String reporter) {
		this.reporter = reporter;
	}

	private boolean isimportant;
     
	public boolean getIsimportant() {
		return isimportant;
	}

	public void setIsimportant(boolean isimportant) {
		this.isimportant = isimportant;
	}

	public int getClickTimes() {
		return clickTimes;
	}

	public void setClickTimes(int clickTimes) {
		this.clickTimes = clickTimes;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

   
    public String getPublishDate() {
		return publishDate;
	}

	public void setPublishDate(String publishDate) {
		this.publishDate = publishDate;
	}

	public User getAuthor() {
		return author;
	}

	public void setAuthor(User author) {
		this.author = author;
	}

	public String getBn() {
        return bn;
    }

    public void setBn(String bn) {
        this.bn = bn == null ? null : bn.trim();
    }

   
    public String getBelong() {
		return belong;
	}

	public void setBelong(String belong) {
		this.belong = belong;
	}

	public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

	@Override
	public String toString() {
		return "newsandbulletin [id=" + id + ", title=" + title
				+ ", publishDate=" + publishDate + ", author=" + author
				+ ", bn=" + bn + ", belong=" + belong + ", content=" + content
				+ ", url=" + url + ", index=" + index + ", clickTimes="
				+ clickTimes + ", reporter=" + reporter + ", isimportant="
				+ isimportant + "]";
	}


	
    
    
}